@import '../assets/theme.scss';
#Left{
  $width: $banner-height;
  background-color: $bodyBackground;
  position: fixed;
  z-index: 100;
  left: 0;
  bottom: 0;
  top: $width;
  width: $width;
  box-shadow:1px 0px 1px rgba(0, 0, 0, 0.1);
  transition: $default-transition;
  &.show{
    opacity: 1;
  }
  &.hide{
    opacity: 0;
    pointer-events: none;
  }
  ul{
    font-size: 0;
    li{
      position: relative;
      transition: $default-transition;
      $li-height: $width / 2;
      width: 100%;
      height: $li-height;
      line-height: $li-height;
      font-size: 14px;
      cursor: pointer;
      border-bottom: 1px solid $mainContentBG - #111;
      .icon{
        transition: $default-transition;
        color: $color-main;
        font-size: 24px;
        margin-left: 10px;
        margin-top: 18px;
        position: absolute;
      }
      span{
        transition: $default-transition;
        position: absolute;
        left: 44px;
        font-weight: bold;
        right:0;
      }
      &:hover{
        border-radius: 4px;
        box-shadow: 0 0 8px $color-main;
        text-shadow: 0 0 2px $color-main;
        .icon{
          color: $color-main - #333;
        }
      }
      &.select{
        background-color: $color-main;
        color: #FFF;
        .icon{
          color: #FFF;
        }
      }
      .des{
        transition: $default-transition;
        opacity: 0;
        position: absolute;
        left: $width;
        height: $li-height;
        z-index: -1;
        color: $color-main;
        font-size: 12px;
        word-break: keep-all;
        white-space: nowrap;
        padding-left: 10px;
        text-overflow: ellipsis;
        background-color: $bodyBackground;
        padding-right: 10px;
        pointer-events: none;
      }
      &:hover .des{
        box-shadow: 0 0 1px $color-main;
        text-shadow: none;
        pointer-events: auto;
        opacity: 1;
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
      }
    }
  }
  &.small{
    top: $small-height;
    width: $small-height;
    ul{
      li{
        .icon{
          font-size: 0;
        }
        span{
          left: 14px;
        }
        .des{
          left: $small-height;
        }
      }
    }
  }
}
